import request from '@/utils/axios';
import appName from "@/api/appName";

/**
 * 分页查询体检预约异常列表信息
 *
 * @param params [ 
    {
        "errorDataInfo":"4009880",
        "errorInfo":"0515709",
        "jobType":"booking",
        "pageSize":"10",
        "pageNumber":"1",
        "orderBy":"error_data_info ASC "
    }
  ]
 * @return
 * @author jiangwy
 * @date 2020年11月16日下午3:21:01
 */ 
export function pageList(params) {
    return request({
      url: appName.PE+'/setting/peunlock/pageList',
      method: 'post',
      data: params
    })
} 

/**
 * 修改体检预约异常信息 <br>
 *
 * @param editType
 * @param params [ { "id":"主键ID" } ]
 * @return
 * @author jiangwy
 * @date 2020年11月16 日下午3:21:01
 */
export function saveNote(params) {
  return request({
    url: appName.PE+'/setting/peunlock/updateNote',
    method: 'post',
    data: params
  })
}
 

